<template>
    <div id="radio">
        <el-row>
            <el-radio v-model="radio" label="1">备选项</el-radio>
            <el-radio v-model="radio" label="2">备选项</el-radio>
        </el-row>
        <hr>
        <el-row>
            <el-radio-group v-model="radio3" @change="changeRadio">
                <el-radio-button label="上海"></el-radio-button>
                <el-radio-button label="北京"></el-radio-button>
                <el-radio-button label="广州"></el-radio-button>
                <el-radio-button label="深圳"></el-radio-button>
            </el-radio-group>
        </el-row>
    </div>
</template>

<script>
export default {
  data () {
    return {
      radio: '1',
      radio3: '上海'
    }
  },
  methods: {
    changeRadio (arg) {
      console.log(arg)
    }
  }
}
</script>
